package com.woniuxy.common.mapper;

import com.woniuxy.common.entity.ShopMerchant;
import com.woniuxy.common.entity.ShopMerchantExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ShopMerchantMapper {
    long countByExample(ShopMerchantExample example);

    int deleteByExample(ShopMerchantExample example);

    int deleteByPrimaryKey(String merchantId);

    int insert(ShopMerchant record);

    int insertSelective(ShopMerchant record);

    List<ShopMerchant> selectByExample(ShopMerchantExample example);

    ShopMerchant selectByPrimaryKey(String merchantId);

    int updateByExampleSelective(@Param("record") ShopMerchant record, @Param("example") ShopMerchantExample example);

    int updateByExample(@Param("record") ShopMerchant record, @Param("example") ShopMerchantExample example);

    int updateByPrimaryKeySelective(ShopMerchant record);

    int updateByPrimaryKey(ShopMerchant record);
}